<%-- 
    Document   : Change Password
    Created on : 25/08/2011, 10:14:06 PM
    UserType   : Poll Admin User
    Author     : Mamdouh Alharbi 41942989

--%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ include file="../header.jsp" %>
<style>
    .error { color: red; }
</style> 
<div id="content-container">
    <div id="content">
        <h3 align="center">Change Password</h3>
         <fieldset>
              <legend>Create New Poll</legend>
              <form:form method="post" commandName="changePassword">
                  Old Password :  <form:password path="oldPassword"/>
                  <form:errors path="oldPassword" cssClass="error"/><br/><br/>
                   New Password : <form:password path="newPassword"/>
                  <form:errors path="newPassword" cssClass="error"/><br/><br/>
                  <input type="submit" align="center" value="Change">
              </form:form>
        </fieldset>
        <br/>
    </div>
</div>				
<%@ include file="../footer.jsp" %>

